﻿// Decompiled with JetBrains decompiler
// Type: YJM_PTO.FormMain
// Assembly: YJM_PTO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 17EE8669-AD07-48C9-A340-87C7401F98C3
// Assembly location: C:\Users\Administrator\Desktop\bin\YJM_PTO.exe

using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;


namespace YJM_PTO
{
  public class FormMain : Form
  {
    private IContainer components = (IContainer) null;
    private TabControl tabControl1;
    private TabPage tabPage1;
    private TabPage tabPage2;
    private TabPage tabPage3;

    public FormMain() => this.InitializeComponent();

    private void FormMain_Load(object sender, EventArgs e)
    {
      this.Text = "生产转出库    ";
      this.LoadForm();
      this.LoadFormCus();
      this.LoadFormZC();
    }

    public void LoadForm()
    {
      this.tabPage1.Controls.Clear();
      Form2 form2 = new Form2();
      form2.FormBorderStyle = FormBorderStyle.None;
      form2.TopLevel = false;
      form2.Dock = DockStyle.Fill;
      this.tabPage1.Controls.Add((Control) form2);
      form2.Show();
    }

    public void LoadFormCus()
    {
      this.tabPage2.Controls.Clear();
      Form1 form1 = new Form1();
      form1.FormBorderStyle = FormBorderStyle.None;
      form1.TopLevel = false;
      form1.Dock = DockStyle.Fill;
      this.tabPage2.Controls.Add((Control) form1);
      form1.Show();
    }

    public void LoadFormZC()
    {
      this.tabPage3.Controls.Clear();
      Form4 form4 = new Form4();
      form4.FormBorderStyle = FormBorderStyle.None;
      form4.TopLevel = false;
      form4.Dock = DockStyle.Fill;
      this.tabPage3.Controls.Add((Control) form4);
      form4.Show();
    }

    protected override void Dispose(bool disposing)
    {
      if (disposing && this.components != null)
        this.components.Dispose();
      base.Dispose(disposing);
    }

    private void InitializeComponent()
    {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.tabPage1 = new System.Windows.Forms.TabPage();
            this.tabPage2 = new System.Windows.Forms.TabPage();
            this.tabPage3 = new System.Windows.Forms.TabPage();
            this.tabControl1.SuspendLayout();
            this.SuspendLayout();
            // 
            // tabControl1
            // 
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage2);
            this.tabControl1.Controls.Add(this.tabPage3);
            this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControl1.Location = new System.Drawing.Point(0, 0);
            this.tabControl1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(1468, 899);
            this.tabControl1.TabIndex = 0;
            // 
            // tabPage1
            // 
            this.tabPage1.Location = new System.Drawing.Point(4, 28);
            this.tabPage1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.tabPage1.Size = new System.Drawing.Size(1460, 867);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "文件转换";
            this.tabPage1.UseVisualStyleBackColor = true;
            // 
            // tabPage2
            // 
            this.tabPage2.Location = new System.Drawing.Point(4, 28);
            this.tabPage2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.tabPage2.Size = new System.Drawing.Size(1460, 867);
            this.tabPage2.TabIndex = 1;
            this.tabPage2.Text = "客户更新";
            this.tabPage2.UseVisualStyleBackColor = true;
            // 
            // tabPage3
            // 
            this.tabPage3.Location = new System.Drawing.Point(4, 28);
            this.tabPage3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.tabPage3.Name = "tabPage3";
            this.tabPage3.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.tabPage3.Size = new System.Drawing.Size(1460, 867);
            this.tabPage3.TabIndex = 2;
            this.tabPage3.Text = "注册";
            this.tabPage3.UseVisualStyleBackColor = true;
            // 
            // FormMain
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1468, 899);
            this.Controls.Add(this.tabControl1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.MaximizeBox = false;
            this.Name = "FormMain";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "FormMain";
            this.Load += new System.EventHandler(this.FormMain_Load);
            this.tabControl1.ResumeLayout(false);
            this.ResumeLayout(false);

    }
  }
}
